#include <iostream>
#include <string>

using namespace std;

int main()
{
    int saveImageCount = 0;
    int rtkEventCount = 0;

    string quantity = "flymap:quantity";

    string strSend ="{\n\t\"" + quantity + "\":" +
                    "\n\t{\n\t\"" + "imageCount" + "\":" + std::to_string(saveImageCount) + ',' + "\n\t" +
                    "\"rtk-eventCount\"" + ':' + std::to_string(rtkEventCount)  + "\n" + "\t}\n" +
                    "}";

    
    cout << strSend << endl;

    return 0;
}

#if 0
{
        "flymap:quantity":
        {
        "imageCount":0,
        "rtk-eventCount":0      // 此处不能有逗号
        }
}
#endif
